import { IDateLineChart } from "@/types/echart"
import { IBase } from "../base"

export type ICustomer=Omit<IBase,'name'|'totalNum'>

export interface ISaleInfoCustomer extends ICustomer {
    addNum: string,
    freezeNum: string
}
export interface ISaleInfoMoney extends ICustomer {
    averageNum: string,
    averageUnit: string
}
export interface ISaleInfoContract extends ICustomer {
    totalNum: string,
    saleNum: string
}

export interface ICustomerProps extends Omit< IBase,'totalNum'>{
    img: string,
}

export interface ICustomerFull {
    saleInfoCustomer: Partial<ISaleInfoCustomer>,
    saleInfoMoney: Partial<ISaleInfoMoney>,
    saleInfoContract: Partial<ISaleInfoContract>,
    pieLeftChart: Partial<IDateLineChart>,
    pieRightChart: Partial<IDateLineChart>,
    lineChart: Partial<IDateLineChart>,
    columnChart: Partial<IDateLineChart>
}
